Tressa: Claiming the Future
نویسندگان
چکیده
Unlike sequential programs, concurrent programs have to account for interference on shared variables. Static verification of a desired property for such programs crucially depends on precisely asserting the conditions for interference. In a static proof system, in addition to program variables, auxiliary (history) variables summarizing the past of the program execution are used in these assertions. Capable of expressing reachability only, assertions (and history variables) are not as useful in the proofs of programs using optimistic concurrency. Pessimistic implementations which allow access to shared data only after synchronization (e.g. locks) guarantee exclusivity; optimistic concurrency implementations which check for interference after shared data is accessed abandon exclusivity in favor of performance. In this paper, we propose a new construct, tressa, to express properties, including interference, about the future of an execution. A tressa claim states a condition for reverse reachability from an end state of the program, much like an assert claim states a condition for forward reachability from the initial state of the program. As assertions employ history variables, tressa claims employ prophecy variables, originally introduced for refinement proofs. Being the temporal dual of history variables, prophecy variables summarize the future of the program execution. We present the proof rules and the notion of correctness of a program for two-way reasoning in a static setting: forward in time for assert claims, backward in time for tressa claims. We have incorporated our proof rules into the QED verifier and have used our implementation to verify a small but sophisticated algorithm. Our experience shows that the proof steps and annotations follow closely the intuition of the programmer, making the proof itself a natural extension of implementation.
منابع مشابه
Studying The Possibility of Claiming Moral Damage by Commercial Corporations
The presupposition of our legal literature is the attribution of moral damages to natural persons, while contrary to what seems apparently,it is also possible to inflict this type of damage on legal persons,especially since the lives of these individuals often depend on the attribution of certain intellectual rights such as reputation and recognition of the possibility of claiming compensation ...
متن کاملBack and Forth: Prophecy Variables for Static Verification of Concurrent Programs
Several static proof systems have been developed over the years for verifying shared-memory multithreaded programs. These proof systems make use of auxiliary variables to express mutual exclusion or non-interference among shared variable accesses. Typically, the values of these variables summarize the past of the program execution; consequently, they are known as history variables. Prophecy var...
متن کاملEffects of social security policies on benefit claiming, retirement and saving ¬リニ
a r t i c l e i n f o An enhanced version of a structural model jointly explains benefit claiming, wealth and retirement, including reversals from states of lesser to greater work. The model is estimated with Health and Retirement Study data. Alternative beliefs about the future of Social Security affect claiming behavior. Effects of three potential policies are also examined: increasing the ea...
متن کاملThe Antecedents of Disputes: Complaining and Claiming
This paper focuses on the earliest stages of the problem resolution function of law and legal institutions: the emergence of grievances and their communication to a responsible party as complaints and claims. While the literature on this subject is broad, both in terms of methods and in terms of the fairly large number of countries where empirical research on this subject has been conducted, it...
متن کاملA Critique of the View Claiming Conflict in the Verses of the Knowledge of the Unseen
The claim of conflict in the verses of the knowledge of the unseen in Quran is one of those made by Brasher – the Jewish orientalist. He believes that the verses which consider the knowledge of the unseen to be only specific to God are in conflict with those verses referring apparently to the Prophet (p.b.u.h) and some of the divine selected people's awareness of the unseen. Classifying the ver...
متن کامل